package com.oystertech.sportcms.converter;

import com.oystertech.sportcms.model.entity.Athlete;
import com.oystertech.sportcms.model.form.AthleteForm;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * 运动员对象转换器
 *
 * @author Oyster Cheung
 * @version 2023-09-05
 * @since 2023-09-05
 */
@Mapper(componentModel = "spring")
public interface AthleteConverter {
	@Mappings({})
	Athlete form2Entity(AthleteForm form);
}
